package com.youngball.shiro.entity;

import com.youngball.business.utill.ConstantClass;

import java.util.List;

/**
 * Created by Administrator on 2015/6/2.
 */
public class UserMenus {

    public List<ConstantClass> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<ConstantClass> permissions) {
        this.permissions = permissions;
    }

    private List<ChildResource> menus;


    public UserMenus(List<ChildResource> menus, User user, List<ConstantClass> permissions) {
        this.menus = menus;
        this.permissions = permissions;
        this.user = user;
    }

    private List<ConstantClass> permissions;

    public UserMenus(List<ChildResource> menus, User user) {
        this.menus = menus;
        this.user = user;
    }

    public List<ChildResource> getMenus() {

        return menus;
    }

    public void setMenus(List<ChildResource> menus) {
        this.menus = menus;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public UserMenus() {
        super();
    }

    private  User user;


}
